import {flag,sum} from "./aaa.js";

if(flag){
  console.log('小明是天才,哈哈哈');
}

//统一全部导入
import * as aaa from "./aaa.js"
aaa.flag